package org.wlc.demov3.impl;

import org.wlc.demov1.service.PopOrderService;
import org.wlc.demov3.adapter.OrderAdapterService;

/**
 * @author 王立朝
 * @date 2022/5/19
 * @description: 接口适配器  第三方商品接口
 */
public class PopOrderAdapterServiceImpl implements OrderAdapterService {
    private PopOrderService popOrderService = new PopOrderService();
    /**
     * 是否首单
     *
     * @param uId
     * @return
     */
    @Override
    public boolean isFirst(String uId) {
        return popOrderService.isFirstOrder(uId);
    }
}
